Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/aasnoabv/www/projets/detail.php on line 40

Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/aasnoabv/www/projets/detail.php on line 40

Warning: mysql_query(): A link to the server could not be established in /home/aasnoabv/www/projets/detail.php on line 40
Erreur SQL :
SELECT name_EN,txt_EN,id,ref, year from Projets WHERE id='223'

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)